﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TimeMng.aspx.cs" Inherits="ORS.Web.TimeMng" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">

        .style1
        {
            font-size: medium;
            font-weight: bold;
        }
        .style2
        {
            font-size: small;
        }
        </style>
    </head>

<body style="height: 667px">
    <form id="form1" runat="server">
    <p>
        <span class="style2">修改终审时间&nbsp;&nbsp;</span>&nbsp;</p>
    <p>        论文题目:<FONT size=5 class="style1"><asp:DropDownList ID="ddlRole0" 
            runat="server" Width="150px" 
                        DataSourceID="roleSqlDataSource0" DataTextField="tiltle" 
            DataValueField="paperid">
                        <asp:ListItem>------</asp:ListItem>
                    </asp:DropDownList>

        </FONT>&nbsp;<FONT size=5 class="style1"><asp:SqlDataSource ID="roleSqlDataSource0" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:DB_ConnectionString %>" 
                        SelectCommand="SELECT tiltle,paperid FROM tb_paperinfo where approvestate < 2"></asp:SqlDataSource>

        </FONT>
    </p>
    <p>
        截止日期:<asp:Calendar  
            ID="Calendar1" runat="server" BackColor="#FFFFCC" 
            BorderColor="#FFCC66" BorderWidth="1px" 
            DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" 
            ForeColor="#663399" Height="200px" Width="220px" ShowGridLines="True">
            <DayHeaderStyle BackColor="#FFCC66" Height="1px" Font-Bold="True" />
            <NextPrevStyle Font-Size="9pt" ForeColor="#FFFFCC" />
            <OtherMonthDayStyle ForeColor="#CC9966" />
            <SelectedDayStyle BackColor="#CCCCFF" Font-Bold="True" />
            <SelectorStyle BackColor="#FFCC66" />
            <TitleStyle BackColor="#990000" 
                Font-Bold="True" Font-Size="9pt" ForeColor="#FFFFCC" />
            <TodayDayStyle BackColor="#FFCC66" ForeColor="White" />
        </asp:Calendar>
        <br/>
        <asp:Button ID="Button1" runat="server" Text="提交" Width="55px" 
            onclick="Button2_Click" />
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="Data Source=.;User ID=Group18;Password=hopeprj;Initial Catalog=ORSDATABASE" 
            SelectCommand="SELECT  tiltle=title_selected FROM tb_paperinfo" 
            UpdateCommand="UPDATE tb_paperinfo SET reviewlimitdate = papertime">
        </asp:SqlDataSource>
    </p>        
        
        
    </form>
</body>
</html>